export function userManageList() {
	return [
		{
			id:'card',
			title: '卡',
			icon: 'https://statics.xmcsrv.net/weixin/userManage/carkIcon.png',
			gif: 'https://statics.xmcsrv.net/weixin/userManage/card.gif',
			url: '/jvss/pagesDevice/device/device-live/door-lock/userManage/userList',
			desc:'添加过程中，请根据提示，将卡靠近设备的读卡区域',
			show:false,
			type:0x05
		},{
			id:'fingerVein',
			title: '指静脉',
			icon: 'https://statics.xmcsrv.net/weixin/userManage/fingerVeinIcon.png',
			gif: 'https://statics.xmcsrv.net/weixin/userManage/finger.gif',
			url: '/jvss/pagesDevice/device/device-live/door-lock/userManage/userList',
			desc:'',
			show:false,
			type:0x04
		},{
			id:'palm',
			title: '掌纹',
			icon: 'https://statics.xmcsrv.net/weixin/userManage/palmIcon.png',
			gif: 'https://statics.xmcsrv.net/weixin/userManage/finger.gif',
			url: '/jvss/pagesDevice/device/device-live/door-lock/userManage/userList',
			desc:'',
			show:false,
			type:0x03
		},{
			id:'face',
			title: '人脸',
			icon: 'https://statics.xmcsrv.net/weixin/userManage/faceIcon.png',
			gif: 'https://statics.xmcsrv.net/weixin/userManage/face.gif',
			url: '/jvss/pagesDevice/device/device-live/door-lock/userManage/userList',
			desc:'添加过程中，请根据门锁提示，面向门锁的摄像头录入您的人脸数据',
			show:false,
			type:0x02
		},{
			id:'finger',
			title: '指纹',
			icon: 'https://statics.xmcsrv.net/weixin/userManage/fingerIcon.png',
			gif: 'https://statics.xmcsrv.net/weixin/userManage/finger.gif',
			url: '/jvss/pagesDevice/device/device-live/door-lock/userManage/userList',
			desc:'添加过程中，请根据门锁提示，在门锁的指纹采集器上进行多次的抬起、按压',
			show:false,
			type:0x01
		},
		{
			id:'password',
			title: '密码',
			icon: 'https://statics.xmcsrv.net/weixin/userManage/passwordIcon.png',
			gif: 'https://statics.xmcsrv.net/weixin/userManage/password.gif',
			url: '/jvss/pagesDevice/device/device-live/door-lock/userManage/userList',
			desc:'添加过程中，请根据门锁提示，在门锁的键盘上输入您的开锁密码',
			show:false,
			type:0x00
		}
	]
}
export function getUserManagerType(typeMsk){
	// 001111111 前两位为预留位，后面依次对应的是：卡片、指静脉、掌纹、人脸、指纹、密码  100111
	// http://10.2.11.100/pages/viewpage.action?pageId=39494278
	const decimal = parseInt(typeMsk, 16);
	const binary = decimal.toString(2);
	return binary
}
